#include "start.h"
#include "ui_start.h"

start::start(QWidget *parent) :
    QWidget(parent),
    ui(new Ui::start)
{
    QLabel *l1=new QLabel(this);
    l1->setGeometry(0,0,1100,900);
    QPixmap pixmap;
    pixmap.load(":/pics/pic/bg1.jpg");
    pixmap=pixmap.scaled(1100,900,Qt::IgnoreAspectRatio,Qt::FastTransformation);
    l1->setPixmap(pixmap);
    ui->setupUi(this);
}

start::~start()
{
    delete ui;
}


void start::on_pushButton_clicked()
{
    this->close();
    b=new setting();
    b->show();
}

void start::on_pushButton_2_clicked()
{
    this->close();
}
